﻿using System;
using System.Collections.Generic;

using E.Model;
using E.BLL;
using E.Web.UI.Page;

using X.Common;

namespace E.Web.Teacher.sys.feedback
{
    public partial class View : TeacherBasePage
    {
        public int id;
        public FeedBackModel model = new FeedBackModel();
        public IList<DictAreaModel> areaList;
        public string area_v;

        protected override void ShowPage()
        {
            id = XRequest.GetInt("id", -1);

            if (id != -1)
            {
                model = (new FeedBackBLL()).GetFeedBackInfo(id);
                if (model.ID == -1)
                {
                    ExecuteJS("alert('服务器忙，请稍后再试'); window.location = '/sys/feedback/List.aspx';");
                }
            }
            else
            {
                ExecuteJS("alert('服务器忙，请稍后再试'); window.location = '/sys/feedback/List.aspx';");
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}
